﻿<html>  
<title>控件化</title>  
<head> 
<script type="text/javascript" src="../js/jquery/jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="../js/jquery/chinaArea/chinaArea.js"></script>
<script type="text/javascript"> 
    function chinaAreaSelectCallback(selectText) {
    	//alert(selectText);
    	$("#SelValue").text(selectText);
    }
    
    function initChinaAreaSelect() {
        // Create content inside pagination element
        $("#ctrlContant").chinaArea({
			selectValue:-1,
            callback: chinaAreaSelectCallback
        });
     }
	$(document).ready(function(){      
		initChinaAreaSelect();
	});
</script> 
</head> 

<body>  
<div id="ctrlContant"></div>
<p>你选择结果：<font color=red><strong id="SelValue" ></strong></font></p>
</body> 


</html>